package com.sen.organization.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sen.organization.bo.MemberPeopleOrgBO;
import com.sen.organization.model.MemberPeopleOrg;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author esjiang
 */
public interface MemberPeopleOrgDao extends BaseMapper<MemberPeopleOrg> {

    /**
     * 查询人员的部门信息
     * @param peopleCode
     * @return
     */
    List<MemberPeopleOrgBO> getOrgInfo(@Param("peopleCode") String peopleCode) ;
}
